Extracting Program Logics From Abstract Interpretations Defined by Logical Relations
نویسنده
چکیده
interpretation: computing on properties readInt(x) if x>0 : x:= pred(x) x:= succ(x) writeInt(x) Q: Is output pos? A: abstractly interpret domain Int by Sign = {neg , zero, pos , any }: readSign(x) if isPos(x): x:= pred(x) x:= succ(x) writeSign(x) where succ(pos) = pos succ(zero) = pos succ(neg) = any succ(any) = any and pred(neg) = neg pred(zero) = neg pred(pos) = any pred(any) = any Calculate the static analysis: {zero 7→ pos , neg 7→ any , pos 7→ any , any 7→ any} The Question is decided only for zero — the static analysis is sound but incomplete.
منابع مشابه
Safety of abstract interpretations for free, via logical relations and Galois connections
Algebraic properties of logical relations on partially ordered sets are studied. It is shown how to construct a logical relation that extends a collection of base Galois connections to a Galois connection of arbitrary higher-order type. “Theorems-for-free” is used to show that the construction ensures safe abstract interpretation of parametrically polymorphic functions. The properties are used ...
متن کاملCategorical Abstract Algebraic Logic: Tarski Congruence Systems, Logical Morphisms and Logical Quotients
A general notion of a congruence system is introduced for π-institutions. Congruence systems in this sense are collections of equivalence relations on the sets of sentences of the π-institution that are preserved both by signature morphisms and by fixed collections of natural transformations from finite tuples of sentences to sentences. Based on this notion of a congruence system, the notion of...
متن کاملA Coalgebraic Perspective on Logical Interpretations
In Computer Science stepwise refinement of algebraic specifications is a well-known formal methodology for rigorous program development. This paper illustrates how techniques from Algebraic Logic, in particular that of interpretation, understood as a multifunction that preserves and reflects logical consequence, capture a number of relevant transformations in the context of software design, reu...
متن کاملA logical approach to interpolation based on similarity relations
One of the possible semantics of fuzzy sets is in terms of similarity, namely a grade of membership of an item in a fuzzy set can be viewed as the degree of resemblance between this item and prototypes of the fuzzy set. In such a framework, an interesting question is how to devise a logic of similarity, where inference rules can account for the proximity between interpretations. The aim is to c...
متن کاملModal and Temporal Logics for Abstract Space-time Structures
In the 4th century BC, the Greek philosopher Diodoros Chronos gave a temporal definition of necessity. Because it connects modality and temporality, this definition is of interest to philosophers working within branching time or branching spacetime models. This definition of necessity can be formalized and treated within a logical framework. We give a survey of the several known modal and tempo...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 173 شماره
صفحات -
تاریخ انتشار 2007